class Student(object):
    count = 0

    def __init__(self, name):
        self.name = name
        self.__get_count()

    def __get_count(self):
        Student.count += 1


a = Student('a')
print(a.name)
print(a.count)
b = Student('b')
print(b.name)
print(b.count)
